package com.punch.common.vo.course.temp;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * CoursePageVO-课程列表信息 展示vo
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/14 10:51
 */
@Data
public class CoursePageVO implements Serializable {

    @ApiModelProperty(name = "courseId", notes = "课程主键id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseId;

    /**
     * 课程名称
     */
    @ApiModelProperty(name = "courseName", notes = "课程名称")
    private String courseName;

    /**
     * 课程分类名称  单选 (素质课、社团课、托管班...)
     */
    @ApiModelProperty(name = "courseClassify", notes = "课程分类名称  单选 (0-素质课、1-社团课、2-托管班...)")
    private Integer courseClassify;

    /**
     * 课程类目名称
     */
    @ApiModelProperty(name = "courseCategoryName", notes = "课程类目名称")
    private String courseCategoryName;


    /**
     * 课时数
     */
    @ApiModelProperty(name = "courseHourCount", notes = "课时数")
    private Integer courseHourCount;
    /**
     * 课时单价：单位分
     */
    @ApiModelProperty(name = "courseHourAmount", notes = "课时单价：单位分")
    @JsonInclude
    private Integer courseHourPrice;

    /**
     * 课时单价：单位分
     */
    @ApiModelProperty(name = "courseHourAmount", notes = "显示课时单价：单位元")
    private BigDecimal courseHourPriceShow;

    /**
     * 课程创建者姓名
     */
    @ApiModelProperty(name = "courseCreateName", notes = "课程创建者姓名")
    private String courseCreateName;


    /**
     * 机构编号
     */
    @ApiModelProperty(name = "orgNo", notes = "机构编号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String orgNo;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer courseStatus;
}
